package com.fire.eyes.validation;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

/**
 * @ClassName: DeviceIdDTO
 * @Description: TODO
 * @Author raoyuxing
 * @Date 2019/1/10 10:34
 */
@Getter
@Setter
public class DeviceIdDTO extends TokenDTO {

    @NotBlank(message = "deviceid不能为空")
    private String deviceid;

    public String getDeviceid() {
        return deviceid;
    }

    public void setDeviceid(String deviceid) {
        this.deviceid = deviceid;
    }

    @Override
    public String toString() {
        return "DeviceIdDTO{" +
                "deviceid='" + deviceid + '\'' +
                '}';
    }
}
